﻿<%@ Page Language="VB" MasterPageFile="~/WebForm/MasterPage.master" AutoEventWireup="false"
    CodeFile="ManageSystemParameter.aspx.vb" Inherits="WebForm_ManageSystemParameter" %>

<%@ Register Src="~/WebForm/ManageSystemParameter/AddRegion.ascx" TagName="AddRegion"
    TagPrefix="My" %>
<%@ Register Src="~/WebForm/ManageSystemParameter/SearchRegion.ascx" TagName="SearchRegion"
    TagPrefix="My" %>
<%@ Register Src="~/WebForm/ManageSystemParameter/SearchSystemParameter.ascx" TagName="SearchSystemParameter" TagPrefix="My" %>
<%@ Register Src="~/WebForm/ManageSystemParameter/AddSystemParameter.ascx" TagName="AddSystemParameter" TagPrefix="My" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="95%" align="Center">
        <tr>
            <td align="center">
                <asp:Label ID="Title" runat="server" SkinID="title" meta:resourcekey="Title"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <%--<asp:LinkButton ID="lknAddBulletin" runat="server" meta:resourcekey="lknAddBulletin"></asp:LinkButton>--%>
                <asp:LinkButton ID="lknAddRegion" runat="server" meta:resourcekey="lknAddRegion"></asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td>
                <asp:UpdatePanel ID="up" runat="server" UpdateMode="conditional">
                    <Triggers>
                        <%--<asp:AsyncPostBackTrigger ControlID="lknAddBulletin" />--%>
                        <asp:AsyncPostBackTrigger ControlID="lknAddRegion" />
                    </Triggers>
                    <ContentTemplate>
                        <ajaxToolkit:TabContainer ID="TabContainer1" ActiveTabIndex="0" AutoPostBack="false"
                            runat="server">
<%--                            <ajaxToolkit:TabPanel ID="SearchBulletinTabPanel" runat="server" meta:resourcekey="SearchBulletinTabPanel">
                                <ContentTemplate>
                                    <My:SearchBulletin ID="SearchBulletin1" runat="server" />
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <ajaxToolkit:TabPanel ID="AddBulletinTabPanel" runat="server" meta:resourcekey="AddBulletinTabPanel">
                                <ContentTemplate>
                                    <My:AddBulletin ID="AddBulletin1" runat="server" />
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>--%>
                            <ajaxToolkit:TabPanel ID="SearchRegionTabPanel" runat="server" meta:resourcekey="SearchRegionTabPanel">
                                <ContentTemplate>
                                    <My:SearchRegion ID="SearchRegion1" runat="server" />
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <ajaxToolkit:TabPanel ID="AddRegionTabPanel" runat="server" meta:resourcekey="AddRegionTabPanel">
                                <ContentTemplate>
                                    <My:AddRegion ID="AddRegion1" runat="server" />
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <ajaxToolkit:TabPanel ID="SearchParameterTabPanel" runat="server" meta:resourcekey="SearchParameterTabPanel">
                                <ContentTemplate>
                                    <My:SearchSystemParameter ID="SearchSystemParameter1" runat="Server" />                                    
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                            <ajaxToolkit:TabPanel ID="AddParameterTabPanel" runat="server" meta:resourcekey="AddParameterTabPanel">
                                <ContentTemplate>
                                    <My:AddSystemParameter ID="AddSystemParameter1" runat="Server" />                                    
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>                            
                        </ajaxToolkit:TabContainer>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
</asp:Content>
